<?php
namespace app\admin\error;

class Admin{
    public static $AdminNameRepetition = [RESULT_CODE => 40001,   RESULT_MESSAGE => '用户名重复',RESULT_SUCCESS => false];

    public static $noChange      = [RESULT_CODE => 40002, RESULT_MESSAGE => '未修改', RESULT_SUCCESS => false];

    public static $insufficientPrivileges       = [RESULT_CODE => 40003, RESULT_MESSAGE => '超级管理员和自己不能删除', RESULT_SUCCESS => false];

    public static $deleteError     = [RESULT_CODE => 40004, RESULT_MESSAGE => '删除失败', RESULT_SUCCESS => false];

    public static $addError     = [RESULT_CODE => 40005, RESULT_MESSAGE => '会员添加失败', RESULT_SUCCESS => false];
}
